<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="renderer" content="webkit" />
		<meta name="robots" content="index, follow" />
		<title>建议投诉</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta name="author" content="order by website" />
		<script type="text/javascript" src="__XIAOHE__/js/jquery.min.js"></script>
		<script src="__XIAOHE__/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
		 crossorigin="anonymous"></script>
		<script src="__XIAOHE__/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="__XIAOHE__/css/bootstrap.min.css" media="screen" />
		<link rel="stylesheet" type="text/css" href="__XIAOHE__/css/style.css" />
		<link rel="stylesheet" type="text/css" href="__XIAOHE__/css/swiper.min.css" />


		<!-- 引入样式文件 -->
		<link rel="stylesheet" type="text/css" href="__XIAOHE__/yuye/index.css">
		<!-- 引入 Vue 和 Vant 的 JS 文件XiaoHe QQ496631085  -->
		<script src="__XIAOHE__/yuye/vue.min.js"></script>
		<script src="__XIAOHE__/yuye/vant.min.js"></script>
	</head>
	<body>

		<div id="app">
			<div class="row">
				<div class="col-xs-12" style="padding: 0;">
					<div class="Suggestions1" style="background-image: url(__XIAOHE__/images/Suggestions1.jpg);">
						<div class="Suggestions1a">公司名称</div>
						<div class="Suggestions1b">
							<input type="text" id="ltdname" placeholder="公司名" value="{$wxuser.ltdname}" />
						</div>
						<!-- <div class="Suggestions1a">房间号</div> -->
						<div class="Suggestions1b">
							<input hidden="hidden" type="text" id="room" placeholder="房间号" value="{$wxuser.room}" />
						</div>

					<!-- 	<div class="Suggestions1a">公司名称</div>
						<div class="Suggestions1c">
							<van-checkbox-group v-model="result" :max="1">
								<div class="Suggestions1c1">
									<van-checkbox shape="square" name="a">服务问题</van-checkbox>
								</div>
								<div class="Suggestions1c1">
									<van-checkbox shape="square" name="b">环境问题</van-checkbox>
								</div>
								<div class="Suggestions1c1">
									<van-checkbox shape="square" name="c">办公问题</van-checkbox>
								</div>
								<div class="Suggestions1c1">
									<van-checkbox shape="square" name="d">设施问题</van-checkbox>
								</div>
								<div class="Suggestions1c1">
									<van-checkbox shape="square" name="e">其他</van-checkbox>
								</div>
							</van-checkbox-group>
						</div> -->
						<div class="Suggestions1a">问题描述</div>
						<div class="Suggestions1d">
							<textarea rows="" cols="" id="problem" placeholder="请输入你问题或建议"></textarea>
						</div>
						<div class="Suggestions1a">建议措施</div>
						<div class="Suggestions1d">
							<textarea rows="" cols="" id="proposal" placeholder="你有什么好的建议措施呢？"></textarea>
						</div>
						<div class="Suggestions1e">
							<button id="xiaohe" type="button">提交</button>
						</div>

						<script type="text/javascript">
							$("#xiaohe").click(function(){
							    $.post("/api/yuye/suggestions",{
									ltdname:$("#ltdname").val(),
									problem:$("#problem").val(),
									proposal:$("#proposal").val(),
									// room:$("#room").val()
								},function(data,status){
							        // alert("Data: " + data + "nStatus: " + status);
							        if(data.code>0){
							        	alert('提交成功');
							        	window.close();
							        }else{
							        	alert('提交失败：'+data.msg);
							        }
							    });
							});
						</script>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
<!-- <script type="text/javascript">
	new Vue({
		el: '#app',
		data() {
			return {
				result: []
			};
		}
	});
</script>
 -->